<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<p></p>
	</body>
	<script type="text/javascript">
	        var x=60;
			var time=setInterval(function(){
				x--;
				document.querySelector('p').innerText=x;
				console.log(x);
			},1000);
	</script>
</html>
